package com.example.newsapp.model.resultData;

import com.example.newsapp.model.NewsItem;

public class NewsDetailResultData extends NewsItem {
    private String context;

    private Boolean like;

    public NewsDetailResultData(){}

    public NewsDetailResultData(Integer id, String title, String time, String imageUrl,String author,String context,Boolean like){
        super(id,title,time,imageUrl,author);
        this.context = context;
        this.like = like;
    }

    public String getContext() {
        return context;
    }

    public Boolean getLike() {
        return like;
    }

    public void setLike(Boolean like) {
        this.like = like;
    }

    public void setContext(String context) {
        this.context = context;
    }
}
